package com.think.ssm.modules.web.service.impl;
 
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.think.ssm.modules.web.mapper.CategoryMapper;
import com.think.ssm.modules.web.pojo.Category;
import com.think.ssm.modules.web.service.CategoryService;
 
@Transactional
@Service
public class CategoryServiceImpl  implements CategoryService{
    @Autowired
    CategoryMapper categoryMapper;
     
    public List<Category> list(){
        return categoryMapper.list();
    }
}